#pragma once
#include <string>
#include <GL/glut.h>
#include "imageloader.h"

class skyBox
{


public:
	skyBox(GLint size=100, GLint posX=25, GLint posY=0, GLint posZ=25);
	void loadTextureImages();
	GLint getSize();
	void draw();
	void makeDisplayList();
	~skyBox(void);
private:
		// vertices
	static const GLfloat A[3];
	static const GLfloat B[3]; 
	static const GLfloat C[3]; 
	static const GLfloat D[3]; 
	static const GLfloat E[3]; 
	static const GLfloat F[3]; 
	static const GLfloat G[3]; 
	static const GLfloat H[3]; 
	GLint size;
	GLuint _textureId; //The id of the texture
	Image* imageSkyBox;
	std::string textureFile;


	// position
	GLint posX, posY, posZ;


	GLint DLindex;
	
};

